package com.itedge.infrastructure.web.taskhandler;

import java.util.Map;

import com.itedge.infrastructure.constants.InfrastructureConstants;

/**
 * Helper methods for task data handlers.
 * 
 * @author jhe
 *
 */
public class TaskHandlerUtil {
	
	/**
	 * Add default task date format to attributes map.
	 * 
	 * @param map
	 */
	public static void applyDateTimePattern(Map<String,Object> map) {
		//String format = DateTimeFormat.patternForStyle("S-",LocaleContextHolder.getLocale());
    	map.put("task_date_format", 
    			InfrastructureConstants.ISO_DATE_FORMAT);		
	}

}
